/*
 * FCKeditor - The text editor for internet
 * Copyright (C) 2003 Frederico Caldeira Knabben
 *
 * Licensed under the terms of the GNU Lesser General Public License
 * (http://www.opensource.org/licenses/lgpl-license.php)
 *
 * For further information go to http://www.fredck.com/FCKeditor/ 
 * or contact fckeditor@fredck.com.
 *
 * fck_config.js: Holds all configurations.
 *
 * Authors:
 *   Frederico Caldeira Knabben (fckeditor@fredck.com)
 */

//##
//## "config" is the global object that holds all configurations
//##
var config = new Object() ;

//##
//## Editor Base Path
//##
config.BasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('/')+1) ;

//##
//## Sets the toolbar icons path
//##
config.ToolbarImagesPath = config.BasePath + "images/toolbar/" ;

//##
//## Toolbar Buttons Sets
//##
config.ToolbarSets = new Object() ;
config.ToolbarSets["Default"] = [
	['Cut','Copy','Paste','-','Undo','Redo','-','SelectAll','RemoveFormat','-','Link','RemoveLink','-','Image','Table','Rule','SpecialChar','-','About'] ,
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','InsertOrderedList','InsertUnorderedList','-','Outdent','Indent'] ,
	['FontStyle','-','FontFormat','-','Font','-','FontSize','-','TextColor','BGColor','-','EditSource']
] ;

config.ToolbarSets["Accessibility"] = [
	['Cut','Copy','Paste','-','SelectAll','RemoveFormat','-','Link','RemoveLink','-','Image','Rule','-','About'] ,
	['FontStyle','-','Bold','Italic','Underline','-','InsertOrderedList','InsertUnorderedList','-','Undo','Redo','-','EditSource']
] ;

config.ToolbarSets["Basic"] = [
	['Bold','Italic','-','InsertOrderedList','InsertUnorderedList','-','Link','RemoveLink','-','About']
] ;

//##
//## Style Names
//##
config.StyleNames = ';Main Header;Blue Title;Centered Title' ;

//##
//## Font Names
//##
config.ToolbarFontNames = ';Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;

//##
//## Block Format Names
//##
config.BlockFormatNames = ';Normal;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Directory List;Menu List;Formatted;Address' ;

//##
//## Image Browsing
//##
// Custom Page URL
config.ImageBrowserURL = config.BasePath + "_filemanager/browse/sample_html/browse.html" ;
// Image browsing window sizes
config.ImageBrowserWindowWidth  = 800 ;
config.ImageBrowserWindowHeight = 250 ;

//##
//## Image Upload
//##
// Page that effectivelly upload the image.
config.ImageUploadURL = config.BasePath + "_filemanager/upload/aspx/upload.aspx" ;
// Image upload window sizes
config.ImageUploadWindowWidth  = 300 ;
config.ImageUploadWindowHeight = 150 ;
